package com.maxmind.common;

public class BusinessException extends RuntimeException
{
    private String code;

    public BusinessException(String code)
    {
        this.code = code;
    }

    public BusinessException(String code, Object message) {
        super(message.toString());
        this.code = code;
    }

    public String getCode() {
        return this.code;
    }
}
